<?php 
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('19','admin','后台项目','1','','0','1','0','1')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('20','admin-index','后台首页','1','','19','2','0','1')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('21','admin-index-index','欢迎界面','1','','20','3','1','1')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('22','admin-article','内容管理','1','','19','2','1','2')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('39','admin-article-add','添加文档','1','','22','3','1','2')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('24','admin-article-index','内容列表','1','','22','3','0','1')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('26','admin-category','栏目管理','1','','19','2','1','3')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('27','admin-category-index','栏目列表','1','','26','3','1','1')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('28','admin-category-add','添加栏目','1','','26','3','1','2')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('29','admin-category-edit','编辑栏目','1','','26','3','0','3')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('30','admin-ad','广告管理','1','','19','2','1','4')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('31','admin-ad-index','广告列表','1','','30','3','1','1')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('41','admin-article-del','删除文档','1','','22','3','1','4')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('33','admin-ad-add','添加广告','1','','30','3','1','2')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('34','admin-position','广告位置管理','1','','19','2','1','5')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('35','admin-position-add','添加广告位置','1','','34','3','1','2')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('36','admin-position-edit','编辑广告位置','1','','34','3','0','3')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('37','admin-position-index','广告位置列表','1','','34','3','1','1')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('40','admin-article-edit','编辑文档','1','','22','3','1','3')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('42','admin-category-del','删除栏目','1','','26','3','1','4')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('43','admin-feedback','留言管理','1','','19','2','1','6')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('44','admin-feedback-index','留言列表','1','','43','3','1','1')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('45','admin-feedback-edit','查看留言','1','','43','3','1','2')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('46','admin-article-beachdelete','文档批量操作','1','','22','3','1','5')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('47','admin-category-beachdelete','栏目批量操作','1','','26','3','1','5')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('48','admin-ad-del','广告删除','1','','30','3','1','4')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('49','admin-ad-edit','广告编辑','1','','30','3','1','3')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('50','admin-ad-beachdelete','广告批量操作','1','','30','3','1','5')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('51','admin-feedback-del','留言删除','1','','43','3','1','4')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('52','admin-feedback-beachdelete','留言批量操作','1','','43','3','1','5')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('53','admin-attachment','附件管理','1','','19','2','1','7')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('54','admin-attachment-index','附件列表','1','','53','3','1','1')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('55','admin-attachment-del','附件删除','1','','53','3','1','2')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('56','admin-attachment-beachdelete','附件批量操作','1','','53','3','1','3')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('57','admin-model','模型管理','1','','19','2','1','8')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('58','admin-model-index','模型列表','1','','57','3','1','1')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('59','admin-model-add','模型添加','1','','57','3','1','2')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('60','admin-model-edit','模型编辑','1','','57','3','1','3')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('61','admin-field','字段管理','1','','19','2','1','9')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('62','admin-field-add','字段添加','1','','61','3','1','2')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('63','admin-field-edit','字段编辑','1','','61','3','1','3')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('64','admin-field-del','字段删除','1','','61','3','1','4')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('65','admin-flag','属性管理','1','','19','2','1','10')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('66','admin-flag-index','属性列表','1','','65','3','1','1')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('67','admin-user','会员管理','1','','19','2','1','11')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('68','admin-field-beachdelete','字段批量操作','1','','61','3','1','5')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('69','admin-user-index','会员列表','1','','67','3','1','1')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('70','admin-user-add','会员添加','1','','67','3','1','2')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('71','admin-user-edit','会员编辑','1','','67','3','1','3')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('72','admin-user-del','会员删除','1','','67','3','1','4')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('73','admin-user-beachdelete','会员批量操作','1','','67','3','1','5')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('74','admin-config','系统管理','1','','19','2','1','12')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('75','admin-config-index','网站配置','1','','74','3','1','1')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('76','admin-admin','管理员管理','1','','19','2','1','13')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('77','admin-admin-index','管理员列表','1','','76','3','1','1')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('78','admin-admin-add','管理员添加','1','','76','3','1','2')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('79','admin-admin-edit','管理员编辑','1','','76','3','1','3')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('80','admin-admin-del','管理员删除','1','','76','3','1','4')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('81','admin-admin-beachdelete','管理员批量操作','1','','76','3','1','5')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('82','admin-authgroup','用户组管理','1','','19','2','1','14')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('83','admin-authgroup-index','用户组列表','1','','82','3','1','1')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('84','admin-authgroup-add','用户组添加','1','','82','3','1','2')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('85','admin-authgroup-edit','用户组编辑','1','','82','3','1','2')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('86','admin-authgroup-rule','分配权限','1','','82','3','1','4')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('87','admin-authrule','规则管理','1','','19','2','1','15')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('88','admin-authrule-index','规则列表','1','','87','3','1','1')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('89','admin-authrule-add','规则添加','1','','87','3','1','3')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('90','admin-authrule-edit','规则编辑','1','','87','3','1','2')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('91','admin-authrule-del','规则删除','1','','87','3','1','5')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('92','admin-rule-beachdelete','规则批量操作','1','','87','3','1','4')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('93','admin-field-index','字段列表','1','','61','3','1','1')");
$db->execute("REPLACE INTO ".$db_prefix."auth_rule (`id`,`name`,`title`,`status`,`condition`,`pid`,`level`,`isnavshow`,`sort`)
						VALUES('94','admin-model-del','模型删除','1','','57','3','1','4')");
